import apiClient from "../config/request"


//登录校验
function login(loginForm){
    return apiClient({
        url:`/login`,
        method:'post',
        data:loginForm
    })
}
function getUserInfo(){
    return apiClient({
        url:`/user/getUserInfo`,
        method:'get',
    })
}
export {login,getUserInfo}